import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);


//注册全局组件
import Header from '@/components/Header.vue'
import Search from '@/components/Search.vue'
import Footer from '@/components/Footer.vue'
import Copyright from '@/components/Copyright.vue'
import Classify from '@/components/Classify.vue'
import Classify2 from '@/components/Classify2.vue'

Vue.config.productionTip = false
Vue.component('Header', Header);
Vue.component('Search', Search);
Vue.component('Footer', Footer);
Vue.component('Copyright', Copyright);
Vue.component('Classify', Classify);
Vue.component('Classify2', Classify2);


new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')